﻿using System.Collections.Generic;
using System.Diagnostics;
using Needle.DevToolkit.Traits;

 namespace Needle.DevToolkit.Workspace
{
    [DebuggerDisplay("GlobalSection({Name,nq}) = {Order,nq}")]
    internal class GlobalSection : NestedItem, ISection
    {
        public string Name { get; set; }
        public string Order { get; set; }
        IDictionary<string, string> _Items;
        public IDictionary<string, string> Items
        {
            get
            {
                if (_Items == null)
                    _Items = new Dictionary<string, string>();
                return _Items;
            }
        }
    }
}
